<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>动态表格</title>
    <style>
        table,
        tr,
        th,
        td {
            border-style: solid;
            border-collapse: collapse;
            border-spacing: 0;
            padding: 10px;
        }

        th {
            background-color: grey;
        }
    </style>
</head>

<body>
    <table>
        <tr>
            <th>姓名</th>
            <th>科目</th>
            <th>成绩</th>
            <th>操作</th>
        </tr>
        <tr>
            <td>魏璎珞</td>
            <td>JavaScript</td>
            <td>100</td>
            <td><a href="">删除</a></td>
        </tr>
        <tr>
            <td>大猪蹄子</td>
            <td>JavaScript</td>
            <td>0</td>
            <td><a href="">删除</a></td>
        </tr>
    </table>
</body>

</html>